﻿using BCCommon.OAEnums;
using BCDto.OA.Attendance.AttendanceRemedyApply;
using BCDto.OA.Reimbursement;
using System.ComponentModel.DataAnnotations;

namespace BCDto.OA.ApplyOrder
{
    /// <summary>
    /// OA申请单
    /// </summary>
    public class ApplyOrderRequestDto
    {
        /// <summary>
        /// 申请类型
        /// </summary>		  
        [Display(Name = "申请类型")]
        [Required(ErrorMessage = "{0} 不允许为空")]
        public OAApplyOrderType Type { get; set; }

        /// <summary>
        /// 补卡申请信息
        /// </summary>
        [Display(Name = "补卡申请信息")]
        public AttendanceRemedyApplyRequestDto RemedyCheckInApply { get; set; }
        /// <summary>
        /// 报销申请信息
        /// </summary>
        [Display(Name = "报销申请信息")]
        public ReimbursementRequestDto Reimbursement { get; set; }

        /// <summary>
        /// 抄送人员
        /// </summary>
        public long[] Copiers { get; set; }
    }
}
